package game;

import com.acarter.scenemonitor.SceneMonitor;


/**
 * @author Carter
 * 
 */
public class Debug extends GameStart {
	
        @Override
        protected void initGame() {

                super.initGame();         
                
                SceneMonitor.getMonitor().registerNode(rootNode, "rootNode");
                SceneMonitor.getMonitor().showViewer(true); 
        }

        @Override
        protected void update(float interpolation) {

                super.update(interpolation);
                SceneMonitor.getMonitor().updateViewer(interpolation);
        }

        @Override
        protected void render(float interpolation) {

                super.render(interpolation);
                SceneMonitor.getMonitor().renderViewer(display.getRenderer());
        }
        
        @Override
        protected void cleanup() {
                
                super.cleanup();
                
                SceneMonitor.getMonitor().cleanup();
        }

        public static void main(String[] args) {
                Debug app = new Debug();

                app.setConfigShowMode(ConfigShowMode.ShowIfNoConfig);
                app.start();
        }
}